Optimal. Leaf size=474 \[ -\frac{8 b c d \sqrt{c^2 x^2+1} \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right ),-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{8 b d^2 \sqrt{c^2 x^2+1} \sqrt{\frac{\sqrt{-c^2} (d+e x)}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e^2 x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{4 b c \sqrt{c^2 x^2+1} \sqrt{d+e x} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.75063, antiderivative size = 474, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 13, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.684, Rules used = {43, 6310, 12, 6721, 6742, 719, 424, 944, 419, 932, 168, 538, 537} \[ -\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{8 b d^2 \sqrt{c^2 x^2+1} \sqrt{\frac{\sqrt{-c^2} (d+e x)}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e^2 x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}-\frac{8 b c d \sqrt{c^2 x^2+1} \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{4 b c \sqrt{c^2 x^2+1} \sqrt{d+e x} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 6310
Rule 12
Rule 6721
Rule 6742
Rule 719
Rule 424
Rule 944
Rule 419
Rule 932
Rule 168
Rule 538
Rule 537
Rubi steps
\begin{align*} \int \frac{x \left (a+b \text{csch}^{-1}(c x)\right )}{\sqrt{d+e x}} \, dx &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{b \int \frac{2 (-2 d+e x) \sqrt{d+e x}}{3 e^2 \sqrt{1+\frac{1}{c^2 x^2}} x^2} \, dx}{c}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{(2 b) \int \frac{(-2 d+e x) \sqrt{d+e x}}{\sqrt{1+\frac{1}{c^2 x^2}} x^2} \, dx}{3 c e^2}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{\left (2 b \sqrt{1+c^2 x^2}\right ) \int \frac{(-2 d+e x) \sqrt{d+e x}}{x \sqrt{1+c^2 x^2}} \, dx}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{\left (2 b \sqrt{1+c^2 x^2}\right ) \int \left (\frac{e \sqrt{d+e x}}{\sqrt{1+c^2 x^2}}-\frac{2 d \sqrt{d+e x}}{x \sqrt{1+c^2 x^2}}\right ) \, dx}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}-\frac{\left (4 b d \sqrt{1+c^2 x^2}\right ) \int \frac{\sqrt{d+e x}}{x \sqrt{1+c^2 x^2}} \, dx}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (2 b \sqrt{1+c^2 x^2}\right ) \int \frac{\sqrt{d+e x}}{\sqrt{1+c^2 x^2}} \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}-\frac{\left (4 b d^2 \sqrt{1+c^2 x^2}\right ) \int \frac{1}{x \sqrt{d+e x} \sqrt{1+c^2 x^2}} \, dx}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}-\frac{\left (4 b d \sqrt{1+c^2 x^2}\right ) \int \frac{1}{\sqrt{d+e x} \sqrt{1+c^2 x^2}} \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 \sqrt{-c^2} e x^2}{c^2 d-\sqrt{-c^2} e}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}}-\frac{\left (4 b d^2 \sqrt{1+c^2 x^2}\right ) \int \frac{1}{x \sqrt{1-\sqrt{-c^2} x} \sqrt{1+\sqrt{-c^2} x} \sqrt{d+e x}} \, dx}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}-\frac{\left (8 b \sqrt{-c^2} d \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 \sqrt{-c^2} e x^2}{c^2 d-\sqrt{-c^2} e}}} \, dx,x,\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}}-\frac{8 b \sqrt{-c^2} d \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}+\frac{\left (8 b d^2 \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{2-x^2} \sqrt{d+\frac{e}{\sqrt{-c^2}}-\frac{e x^2}{\sqrt{-c^2}}}} \, dx,x,\sqrt{1-\sqrt{-c^2} x}\right )}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}}-\frac{8 b \sqrt{-c^2} d \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}+\frac{\left (8 b d^2 \sqrt{1+c^2 x^2} \sqrt{1+\frac{e \left (-1+\sqrt{-c^2} x\right )}{\sqrt{-c^2} d+e}}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{2-x^2} \sqrt{1-\frac{e x^2}{\sqrt{-c^2} \left (d+\frac{e}{\sqrt{-c^2}}\right )}}} \, dx,x,\sqrt{1-\sqrt{-c^2} x}\right )}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ &=-\frac{2 d \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right )}{e^2}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e^2}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}}}-\frac{8 b \sqrt{-c^2} d \sqrt{\frac{c^2 (d+e x)}{c^2 d-\sqrt{-c^2} e}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}+\frac{8 b d^2 \sqrt{1+c^2 x^2} \sqrt{1-\frac{e \left (1-\sqrt{-c^2} x\right )}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e^2 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ \end{align*}
Mathematica [C] time = 1.27859, size = 343, normalized size = 0.72 \[ \frac{2 \left (\frac{2 b \sqrt{-\frac{e (c x-i)}{c d+i e}} \sqrt{-\frac{e (c x+i)}{c d-i e}} \left ((e+i c d) \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{-\frac{c}{c d-i e}} \sqrt{d+e x}\right ),\frac{c d-i e}{c d+i e}\right )+(-e+i c d) E\left (i \sinh ^{-1}\left (\sqrt{-\frac{c}{c d-i e}} \sqrt{d+e x}\right )|\frac{c d-i e}{c d+i e}\right )-2 i c d \Pi \left (1-\frac{i e}{c d};i \sinh ^{-1}\left (\sqrt{-\frac{c}{c d-i e}} \sqrt{d+e x}\right )|\frac{c d-i e}{c d+i e}\right )\right )}{c^2 x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{-\frac{c}{c d-i e}}}+a \sqrt{d+e x} (e x-2 d)+b \text{csch}^{-1}(c x) \sqrt{d+e x} (e x-2 d)\right )}{3 e^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.299, size = 868, normalized size = 1.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x \left (a + b \operatorname{acsch}{\left (c x \right )}\right )}{\sqrt{d + e x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arcsch}\left (c x\right ) + a\right )} x}{\sqrt{e x + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]